package com.zmj.security.model;

/**
 * @Author: zmj
 * @Date: 2025/1/14
 */
public class UserSubject {

    private long id;
    private boolean isAuthenticated;

    public UserSubject() {
    }

    public UserSubject(long id, boolean isAuthenticated) {
        this.id = id;
        this.isAuthenticated = isAuthenticated;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public boolean isAuthenticated() {
        return isAuthenticated;
    }

    public void setAuthenticated(boolean authenticated) {
        isAuthenticated = authenticated;
    }

}
